pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so
authorIan Jackson <ian.jackson@citrix.com>
Fri, 22 Feb 2019 12:24:35 +0000 (12:24 +0000)
committerRaspbian forward porter <root@raspbian.org>
Thu, 27 Jun 2019 17:16:25 +0000 (18:16 +0100)
commit442d7411f73c56db5af7788f2e48e5228af35a21
treef987f2e2736ce131b01726ba6fd2ee50ebd70a19
parent33cd0977778fd13f278875c6260963fd21e40c30
pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so

If LIBEXEC_LIB is not on the default linker search path, the python
fsimage.so module fails to find libfsimage.so.

Add the relevant directory to the rpath explicitly.

(This situation occurs in the Debian package, where
--with-libexec-libdir is used to put each Xen version's libraries and
utilities in their own directory, to allow them to be coinstalled.)

Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
Gbp-Pq: Name 0049-pygrub-Specify-rpath-LIBEXEC_LIB-when-building-fsima.patch
tools/pygrub/Makefile
tools/pygrub/setup.py